package com.ruoyi.cust.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 客户信息对象 b_cus_info
 * 
 * @author ljs
 * @date 2025-10-02
 */
public class BCusInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 客户ID（主键） */
    private Long bCusId;

    /** 客户ID（主键） */
    private Long pageNum;

    /** 客户ID（主键） */
    private Long pageSize;

    public Long getPageNum() {
        return pageNum;
    }

    public void setPageNum(Long pageNum) {
        this.pageNum = pageNum;
    }

    public Long getPageSize() {
        return pageSize;
    }

    public void setPageSize(Long pageSize) {
        this.pageSize = pageSize;
    }

    /** 客户编码 */
    @Excel(name = "客户编码")
    private String bCusCode;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String bCusName;

    /** 客户类型（1-个人，2-企业） */
    @Excel(name = "客户类型", readConverterExp = "1=-个人，2-企业")
    private Long bCusType;

    /** 法定代表人（企业客户） */
    @Excel(name = "法定代表人", readConverterExp = "企=业客户")
    private String bCusLegalPerson;

    /** 身份证号（个人客户） */
    @Excel(name = "身份证号", readConverterExp = "个=人客户")
    private String bCusIdcard;

    /** 工商注册号（企业客户） */
    @Excel(name = "工商注册号", readConverterExp = "企=业客户")
    private String bCusRegCode;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String bCusPhone;

    /** 电子邮箱 */
    @Excel(name = "电子邮箱")
    private String bCusEmail;

    /** 客户地址 */
    @Excel(name = "客户地址")
    private String bCusAddr;

    /** 客户等级（1-顶级，2-优质，3-普通，4-劣质） */
    @Excel(name = "客户等级", readConverterExp = "1=-顶级，2-优质，3-普通，4-劣质")
    private Long bCusLevel;

    /** 状态（0-注销，1-正常，2-冻结） */
    @Excel(name = "状态", readConverterExp = "0=-注销，1-正常，2-冻结")
    private Long bCusStatus;



    /** 创建人 */
    @Excel(name = "创建人")
    private String bCreateUser;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date bCreateTime;

    /** 更新人 */
    @Excel(name = "更新人")
    private String bUpdateUser;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date bUpdateTime;

    /** 备注信息 */
    @Excel(name = "备注信息")
    private String bRemark;

    public void setbCusId(Long bCusId) 
    {
        this.bCusId = bCusId;
    }

    public Long getbCusId() 
    {
        return bCusId;
    }
    public void setbCusCode(String bCusCode) 
    {
        this.bCusCode = bCusCode;
    }

    public String getbCusCode() 
    {
        return bCusCode;
    }
    public void setbCusName(String bCusName) 
    {
        this.bCusName = bCusName;
    }

    public String getbCusName() 
    {
        return bCusName;
    }
    public void setbCusType(Long bCusType) 
    {
        this.bCusType = bCusType;
    }

    public Long getbCusType() 
    {
        return bCusType;
    }
    public void setbCusLegalPerson(String bCusLegalPerson) 
    {
        this.bCusLegalPerson = bCusLegalPerson;
    }

    public String getbCusLegalPerson() 
    {
        return bCusLegalPerson;
    }
    public void setbCusIdcard(String bCusIdcard) 
    {
        this.bCusIdcard = bCusIdcard;
    }

    public String getbCusIdcard() 
    {
        return bCusIdcard;
    }
    public void setbCusRegCode(String bCusRegCode) 
    {
        this.bCusRegCode = bCusRegCode;
    }

    public String getbCusRegCode() 
    {
        return bCusRegCode;
    }
    public void setbCusPhone(String bCusPhone) 
    {
        this.bCusPhone = bCusPhone;
    }

    public String getbCusPhone() 
    {
        return bCusPhone;
    }
    public void setbCusEmail(String bCusEmail) 
    {
        this.bCusEmail = bCusEmail;
    }

    public String getbCusEmail() 
    {
        return bCusEmail;
    }
    public void setbCusAddr(String bCusAddr) 
    {
        this.bCusAddr = bCusAddr;
    }

    public String getbCusAddr() 
    {
        return bCusAddr;
    }
    public void setbCusLevel(Long bCusLevel) 
    {
        this.bCusLevel = bCusLevel;
    }

    public Long getbCusLevel() 
    {
        return bCusLevel;
    }
    public void setbCusStatus(Long bCusStatus) 
    {
        this.bCusStatus = bCusStatus;
    }

    public Long getbCusStatus() 
    {
        return bCusStatus;
    }
    public void setbCreateUser(String bCreateUser) 
    {
        this.bCreateUser = bCreateUser;
    }

    public String getbCreateUser() 
    {
        return bCreateUser;
    }
    public void setbCreateTime(Date bCreateTime) 
    {
        this.bCreateTime = bCreateTime;
    }

    public Date getbCreateTime() 
    {
        return bCreateTime;
    }
    public void setbUpdateUser(String bUpdateUser) 
    {
        this.bUpdateUser = bUpdateUser;
    }

    public String getbUpdateUser() 
    {
        return bUpdateUser;
    }
    public void setbUpdateTime(Date bUpdateTime) 
    {
        this.bUpdateTime = bUpdateTime;
    }

    public Date getbUpdateTime() 
    {
        return bUpdateTime;
    }
    public void setbRemark(String bRemark) 
    {
        this.bRemark = bRemark;
    }

    public String getbRemark() 
    {
        return bRemark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("bCusId", getbCusId())
            .append("bCusCode", getbCusCode())
            .append("bCusName", getbCusName())
            .append("bCusType", getbCusType())
            .append("bCusLegalPerson", getbCusLegalPerson())
            .append("bCusIdcard", getbCusIdcard())
            .append("bCusRegCode", getbCusRegCode())
            .append("bCusPhone", getbCusPhone())
            .append("bCusEmail", getbCusEmail())
            .append("bCusAddr", getbCusAddr())
            .append("bCusLevel", getbCusLevel())
            .append("bCusStatus", getbCusStatus())
            .append("bCreateUser", getbCreateUser())
            .append("bCreateTime", getbCreateTime())
            .append("bUpdateUser", getbUpdateUser())
            .append("bUpdateTime", getbUpdateTime())
            .append("bRemark", getbRemark())
            .toString();
    }
}
